Revert "board_f: Use static print_cpuinfo if CONFIG_CPU is active"
authorBin Meng <[email protected]>
Wed, 7 Nov 2018 11:50:34 +0000 (03:50 -0800)
committerTom Rini <[email protected]>
Wed, 7 Nov 2018 17:13:35 +0000 (12:13 -0500)
commit5764ea2df4efadd1ef0576ec45f33e137ce5aad8
treeaa81e5fe3cc1fb8dc311ed9cf3857d647426e799
parentf63f65e489625c68ba3980b810de33a7a0a677f5
Revert "board_f: Use static print_cpuinfo if CONFIG_CPU is active"

This reverts commit c0434407b595f785fc7401237896c48c791b45fd.

It turns out commit c0434407b595 broke some boards which have DM CPU
driver with CONFIG_DISPLAY_CPUINFO option on. These boards just fail
to boot when print_cpuinfo() is called during boot.

Fixes are already sent to ML and in u-boot-dm/next, however since
we are getting close to the v2018.11 release, it's safer we revert
the original commit.

This commit should be reverted after v2018.11 release.

Signed-off-by: Bin Meng <[email protected]>
Acked-by: Peng Fan <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
common/board_f.c
include/init.h